package com.gopay.remote.riskcontrol;

import com.gopay.remote.riskcontrol.vo.RiskControlInfo;
import com.gopay.remote.riskcontrol.vo.RiskControlResult;
import com.gopay.remote.riskcontrol.vo.Strategy;

import java.util.List;

/**
 * 风控远程调用接口
 * Created by Light on 2016/7/28.
 */
public interface RiskControlRemoteService {
    /**
     * @param riskControlInfo 风控信息对象
     * @return 风控结果
     */
    RiskControlResult assess(RiskControlInfo riskControlInfo);

    /**
     *
     * @param riskControlInfo 风控信息对象
     * @param strategyList 策略列表
     * @return 风控结果
     */
    RiskControlResult assess(RiskControlInfo riskControlInfo, List<Strategy> strategyList);
}
